
package com.intretech.umsin.system.param;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
* @version V1.0
* 角色信息:sys_role 运用于控制器层(暴露给前端接口调用)查询参数载体模型类.
* @ClassName: SysRoleParam
* @Description: 角色信息:sys_role 运用于控制器层(暴露给前端接口调用)查询参数载体模型类.
* @author: 李启联
* @date:   2022-8-16 16:25:07
* @Copyright: Copyright (c) 2022
*/
@ApiModel("角色信息 查询参数")
public class SysRoleParam implements Serializable {
    // 角色ID
    @ApiModelProperty(value = "角色ID" ,dataType="bigint(19)")
    private Long id;
    // 角色名称
    @ApiModelProperty(value = "角色名称" ,dataType="varchar(64)")
    private String roleName;
    // 角色权限字符串
    @ApiModelProperty(value = "角色权限字符串" ,dataType="varchar(100)")
    private String roleKey;
    // 显示顺序
    @ApiModelProperty(value = "显示顺序" ,dataType="int(10)")
    private Integer roleSort;
    // 数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）
    @ApiModelProperty(value = "数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）" ,dataType="char(1)")
    private String dataScope;
    // 角色状态（0正常 1停用）
    @ApiModelProperty(value = "角色状态（0正常 1停用）" ,dataType="char(1)")
    private String status;
    // 备注
    @ApiModelProperty(value = "备注" ,dataType="varchar(500)")
    private String remark;
    // 版本号
    @ApiModelProperty(value = "版本号" ,dataType="int(10)")
    private Integer version;
    // 租户id
    @ApiModelProperty(value = "租户id" ,dataType="varchar(128)")
    private String tenantId;
    // 创建人
    @ApiModelProperty(value = "创建人" ,dataType="varchar(64)")
    private String creator;
    // 修改人
    @ApiModelProperty(value = "修改人" ,dataType="varchar(64)")
    private String modifier;
    // 创建时间
    @ApiModelProperty(value = "创建时间" ,dataType="datetime()")
    private LocalDateTime createTime;
    // 修改时间
    @ApiModelProperty(value = "修改时间" ,dataType="datetime()")
    private LocalDateTime modifyTime;


    public Long getId(){
        return this.id;
    }
    public void setId(Long id){
        this.id = id;
    }

    public String getRoleName(){
        return this.roleName;
    }
    public void setRoleName(String roleName){
        this.roleName = roleName;
    }

    public String getRoleKey(){
        return this.roleKey;
    }
    public void setRoleKey(String roleKey){
        this.roleKey = roleKey;
    }

    public Integer getRoleSort(){
        return this.roleSort;
    }
    public void setRoleSort(Integer roleSort){
        this.roleSort = roleSort;
    }

    public String getDataScope(){
        return this.dataScope;
    }
    public void setDataScope(String dataScope){
        this.dataScope = dataScope;
    }

    public String getStatus(){
        return this.status;
    }
    public void setStatus(String status){
        this.status = status;
    }

    public String getRemark(){
        return this.remark;
    }
    public void setRemark(String remark){
        this.remark = remark;
    }

    public Integer getVersion(){
        return this.version;
    }
    public void setVersion(Integer version){
        this.version = version;
    }

    public String getTenantId(){
        return this.tenantId;
    }
    public void setTenantId(String tenantId){
        this.tenantId = tenantId;
    }

    public String getCreator(){
        return this.creator;
    }
    public void setCreator(String creator){
        this.creator = creator;
    }

    public String getModifier(){
        return this.modifier;
    }
    public void setModifier(String modifier){
        this.modifier = modifier;
    }

    public LocalDateTime getCreateTime(){
        return this.createTime;
    }
    public void setCreateTime(LocalDateTime createTime){
        this.createTime = createTime;
    }

    public LocalDateTime getModifyTime(){
        return this.modifyTime;
    }
    public void setModifyTime(LocalDateTime modifyTime){
        this.modifyTime = modifyTime;
    }

    public SysRoleParam(){
    }

    @Override
    public String toString(){
        return " SysRoleParam ["
                +" id = " +id +" ,"
                +" roleName = " +roleName +" ,"
                +" roleKey = " +roleKey +" ,"
                +" roleSort = " +roleSort +" ,"
                +" dataScope = " +dataScope +" ,"
                +" status = " +status +" ,"
                +" remark = " +remark +" ,"
                +" version = " +version +" ,"
                +" tenantId = " +tenantId +" ,"
                +" creator = " +creator +" ,"
                +" modifier = " +modifier +" ,"
                +" createTime = " +createTime +" ,"
                +" modifyTime = " +modifyTime
                +" ]";
    }


}